package com.baitiaojun.moments.mapper;

import com.baitiaojun.api.domain.user.RabbitMqDuplicate;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RabbitMqDuplicateMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RabbitMqDuplicate record);

    int insertSelective(RabbitMqDuplicate record);

    int updateByPrimaryKeySelective(RabbitMqDuplicate record);

    int updateByPrimaryKey(RabbitMqDuplicate record);

    List<RabbitMqDuplicate> selectRabbitMqDuplicateByStatus(@Param("status") String status);

    int updateBatchStatusById(@Param("ids") List<Long> ids, @Param("status") String status, @Param("updatetime") Date updateTime);

    String selectStatusById(long id);

    int deleteByContentId(Long contentId);
}